include(../microdesigner.pri)

QT       += core gui xml

TARGET = designer
TEMPLATE = app

INCLUDEPATH += ../fluffy
INCLUDEPATH += ../baselib

SOURCES += \
    main.cpp\
    mainwindow.cpp \
    aboutwindow.cpp \
#   tests
    logictest/testcase.cpp \
    logictest/linetest.cpp \
    logictest/rs_test.cpp \
#   drawings
    drawings/centrifier.cpp \
    drawings/drawingtool.cpp \
    drawings/drawpanel.cpp \
    drawings/fluffywindow.cpp \
    drawings/itoolbox.cpp \
    drawings/schemewindow.cpp \
    drawings/signaldiagram.cpp \
    drawings/subjectwindow.cpp \
    drawings/exceptiondialog.cpp \

HEADERS  += \
    mainwindow.h \
    aboutwindow.h \
#   tests
    logictest/testcase.h \
    logictest/linetest.h \
    logictest/rs_test.h \
#   drawings
    drawings/centrifier.h \
    drawings/drawingtool.h \
    drawings/drawpanel.h \
    drawings/fluffywindow.h \
    drawings/itoolbox.h \
    drawings/schemewindow.h \
    drawings/signaldiagram.h \
    drawings/subjectwindow.h \
    drawings/exceptiondialog.h

FORMS    += mainwindow.ui \
            drawings/exceptiondialog.ui

RESOURCES += \
    Resources.qrc

target.path = $$INSTALLBASE

INSTALLS = target

win32:RC_FILE = winico.rc

LIBS += $$DESTDIR/libobjects.a
LIBS += $$DESTDIR/libfluffy.a
